import Cookie from 'js-cookie';

const Token = 'userToken';

export function getToken(){
    // return Cookie.get(Token);
    // return window.postMessage("hello",'http://192.168.108.31:10086')
    return window.localStorage.getItem(Token)
}

export function setToken(token){
    return window.localStorage.setItem(Token,token)
}

export function removeToken(){
    return window.localStorage.removeItem(Token)
}
